package com.wlw.mall.member.feign;


import com.wlw.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 远程调用接口
 * @FeignClient括号内写注册的服务名
 */
@FeignClient("mall-coupon")
public interface CouponFeignService {
    /**
     * 被远程调用的完整签名放这里(要写完整路径)
     * @return
     */
    @RequestMapping("/coupon/smscoupon/test")
    public R memberCoupons();
}
